using System;
using System.Drawing;
namespace Circus.CodeEditor.TextSource
{
	public class UndoData 
	{
		private UndoOperation operation;
		private UpdateReason reason;
		private int updateCount;
		private UndoFlags undoFlag;
		private object data;
		private Point position;
		public virtual UndoOperation Operation
		{
			get
			{
				return this.operation;
			}
			set
			{
				this.operation = value;
			}
		}
		public virtual UpdateReason Reason
		{
			get
			{
				return this.reason;
			}
			set
			{
				this.reason = value;
			}
		}
		public virtual int UpdateCount
		{
			get
			{
				return this.updateCount;
			}
			set
			{
				this.updateCount = value;
			}
		}
		public virtual UndoFlags UndoFlag
		{
			get
			{
				return this.undoFlag;
			}
			set
			{
				this.undoFlag = value;
			}
		}
		public virtual object Data
		{
			get
			{
				return this.data;
			}
			set
			{
				this.data = value;
			}
		}
		public virtual Point Position
		{
			get
			{
				return this.position;
			}
			set
			{
				this.position = value;
			}
		}
		public UndoData(UndoOperation operation, object data)
		{
			this.Operation = operation;
			this.Data = data;
			this.Reason = UpdateReason.Other;
		}
	}
}
